//
//  HXGISSearchView.m
//  KD
//
//  Created by ifly on 16/5/10.
//  Copyright © 2016年 Whx. All rights reserved.
//

#import "HXGISSearchView.h"

@interface HXGISSearchView()
@property (weak, nonatomic) IBOutlet UITextField *proNameTextFeild;
@property (weak, nonatomic) IBOutlet UITextField *proAddressTextFeild;
@property (weak, nonatomic) IBOutlet UIButton *searchBtn;
@end


@implementation HXGISSearchView

- (IBAction)searchBtnClick:(id)sender {
    [self.delegate searchAreaName:self.proNameTextFeild.text Area:self.proAddressTextFeild.text];
}

- (void)awakeFromNib{
    self.searchBtn.layer.borderColor = MAINCOLOR.CGColor;
    self.searchBtn.titleLabel.textColor = MAINCOLOR;
    self.searchBtn.layer.borderWidth = 0.2;
    self.searchBtn.layer.cornerRadius = 12;
}

@end
